package org.jeecg.modules.demo.annualkeywork.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
@Schema(description="待办年度重点工作")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class TobedoneAnnualKeyWork implements Serializable {
    /**主键*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private java.lang.String id;
    /**承接任务*/
    @Excel(name = "承接任务", width = 15)
    @Schema(description = "承接任务")
    private java.lang.String undertaketasks;
    /**工作内容*/
    @Excel(name = "工作内容", width = 15)
    @Schema(description = "工作内容")
    private java.lang.String jobcontent;
    /**完成期限*/
    @Excel(name = "完成期限", width = 15)
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "完成期限")
    private java.util.Date deadlineforcompletion;
    /**责任部门*/
    @Excel(name = "责任部门", width = 15)
    @Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
    @Schema(description = "责任部门")
    private java.lang.String respondepart;
    /*配合部门*/
    @Excel(name = "配合部门", width = 15)
    @Dict(dictTable = "sys_depart where depart_name like '%部' or depart_name like '%处'", dicText = "depart_name", dicCode = "id")
    @Schema(description = "配合部门")
    private java.lang.String coopDepart;
    /**配合内容*/
    @Excel(name = "配合内容", width = 15)
    @Schema(description = "配合内容")
    private java.lang.String coopcontent;
    /**任务状态*/
    @Excel(name = "任务状态", width = 15)
    @Schema(description = "任务状态")
    private java.lang.String taskstatus;
}
